home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / srdsk205.zip / SRDISK.DOC < prev    next >
Text File  |  1994-01-31  |  36KB  |  905 lines

  1.  
  2.                               SRDISK (TM)
  3.                     ReSizeable RAMDisk version 2.05
  4.                          for XMS and EMS memory
  5.  
  6.                  Copyright (c) 1991-1994 Marko Kohtala
  7.                           All rights reserved
  8.  
  9.  
  10.  
  11. CONTENTS
  12.  
  13.   1. Disclaimer of warranty
  14.   2. License
  15.   3. Features included
  16.   4. Files in this release
  17.   5. Usage
  18.   5.1. Basic installation
  19.   5.2. SRDISK device driver
  20.   5.2.1. XMS memory device driver
  21.   5.2.2. EMS memory device driver
  22.   5.2.3. EMS 3.2 memory device driver
  23.   5.3. SRDUMMY device driver
  24.   5.4. SRDISK program
  25.   5.4.1 SRDISK sample commands
  26.   5.4.2 SRDISK command line options
  27.   6. Troubleshooting
  28.   7. Trademarks
  29.   8. Last words
  30.  
  31.  
  32.  
  33.                        1. DISCLAIMER OF WARRANTY
  34.  
  35. THIS SOFTWARE AND MANUAL ARE PROVIDED "AS IS" AND WITHOUT WARRANTIES AS 
  36. TO PERFORMANCE OF MERCHANTABILITY OR ANY OTHER WARRANTIES WHETHER 
  37. EXPRESSED OR IMPLIED.  BECAUSE OF THE VARIOUS HARDWARE AND SOFTWARE 
  38. ENVIRONMENTS IN WHICH THIS PROGRAM MAY BE USED, NO WARRANTY OF FITNESS 
  39. FOR A PARTICULAR PURPOSE IS OFFERED.
  40.  
  41. GOOD DATA PROCESSING PROCEDURE DICTATES THAT ANY PROGRAM BE THOROUGHLY
  42. TESTED WITH NON-CRITICAL DATA BEFORE RELYING ON IT.  THE USER MUST
  43. ASSUME THE ENTIRE RISK OF USING THE PROGRAM.  ANY LIABILITY OF THE
  44. SELLER WILL BE LIMITED EXCLUSIVELY TO PRODUCT REPLACEMENT OR REFUND OF
  45. PURCHASE PRICE.
  46.  
  47.  
  48.  
  49.                                2. LICENSE
  50.  
  51. This software is NOT public domain. It is copyrighted software
  52. distributed as shareware.
  53.  
  54. This software is NOT free. A license fee must be paid if used longer 
  55. than for one month evaluation period. See PAYMENT.DOC for details of the 
  56. payment.
  57.  
  58. If you received this software on a CD-ROM or from a disk vendor, you 
  59. have only paid for the disk. You do NOT have a license to use this 
  60. software.
  61.  
  62. Everybody has the right to copy and distribute this software as long as
  63. it is unmodified and all the original files listed in chapter 4 of this 
  64. document are included. A fee of at most $7 may be charged for the total 
  65. expences of copying. If a copying fee is taken, the receiver of this 
  66. software must be made aware that he has only the evaluation and copying 
  67. license stated above.
  68.  
  69. Remember that you may COPY THIS TO YOUR FRIENDS! This is the idea behind 
  70. shareware. Show this to your boss also (not meaning: if you do not count 
  71. him/her to your friends <g>). SRDISK can prove worth a few megabytes of 
  72. memory to you.
  73.  
  74.  
  75.  
  76.                           3. FEATURES INCLUDED
  77.  
  78. This RAM disk currently supports the following features:
  79.  
  80.   * Compatible with MS-DOS versions from 3 to 6 and DR-DOS 5 to 6.
  81.   * XMS - Extended memory on 286 and up with HIMEM or other XMS 2.0
  82.     driver.
  83.   * EMS - Expanded memory of LIM/EMS version 3.2 and 4.0.
  84.   * Device drivers may be chained to form larger disks using many
  85.     different kind memories.
  86.   * Resizeable - can preserve disk contents if new format has room 
  87.     enough.
  88.   * Removable. Can be disabled without reboot.
  89.   * Supports 32-bit sector addressing introduced in DOS 4. Thus over 32M
  90.     RAM disks are possible if you have the memory.
  91.   * Configurable
  92.       - sector size
  93.       - cluster size
  94.       - root directory entry count
  95.       - number of FATs
  96.   * Predefined DOS and FDFORMAT floppy disk look-alike formats.
  97.   * DISKCOPY compatible with DOS versions from 3.20 up. You can copy
  98.     to/from SRDISK drive using DOS DISKCOPY.
  99.   * Write protection.
  100.   * Can optionally set environment variables SRDISKn (n=1,2,...) to
  101.     the installed SRDISK drive letters.
  102.   * Comes with a dummy drive you can use to locate SRDISK (or any other 
  103.     installable) drive at a higher letter.
  104.  
  105. I have a list of new features to implement in the future. By sending 
  106. money and feature suggestions you can help me make this program still 
  107. better.
  108.  
  109. Users may find that the ability to resize is invaluable. Since some 
  110. programs can take best use of memory by directly using it while others 
  111. need a fast disk for temporary files, you can now have optimal 
  112. performance with both kinds of programs without the trouble of changing 
  113. configuration and rebooting.
  114.  
  115. The feature of being able to resize automagically when there is need for 
  116. it is currently not in my reach. FAT filesystem in DOS just was not 
  117. designed for it. There is some more explanation about it later in this 
  118. document.
  119.  
  120.  
  121.  
  122.                         4. FILES IN THIS RELEASE
  123.  
  124. The following files are distributed in this release:
  125.  
  126.         READ.ME         some notes
  127.         FILE_ID.DIZ     short description of packet for BBS operators
  128.         WHATSNEW.DOC    what is new in this release and history
  129.         SRDISK.DOC      this document
  130.         SRDXMS.SYS      device driver for XMS memory
  131.         SRDXMSS.SYS     device driver for XMS memory (small version)
  132.         SRDEMS.SYS      device driver for EMS 4.0 memory
  133.         SRDEMSS.SYS     device driver for EMS 4.0 memory (small version)
  134.         SRDEMS3.SYS     device driver for EMS 3.2 memory
  135.         SRDUMMY.SYS     device driver for nothing but use drive letters
  136.         SRDISK.EXE      formatter program
  137.         SUOMI.DOC       Finnish version of this document
  138.         DEUTSCH.DOC     German note to German users
  139.         PAYMENT.DOC     registering information
  140.  
  141. The small versions of device drivers do not support DOS DISKCOPY 
  142. compatibility and may require user to make sure there is enough stack 
  143. available by specifying STACKS=8,512 (or similar) in CONFIG.SYS. Also, 
  144. you can not chain another device driver after a small version device 
  145. driver.
  146.  
  147.  
  148.  
  149.                                 5. USAGE
  150.  
  151. The SRDISK is basicly split into two parts:
  152.  
  153.         1) a device driver to add the virtual drive into DOS and
  154.         2) a program to control the device driver
  155.  
  156. The following explains the installation and how to use both of these
  157. parts.
  158.  
  159.  
  160.                         5.1. BASIC INSTALLATION
  161.  
  162. The basic installation for XMS memory can be done following these steps:
  163.  
  164. 1. Copy SRDXMS.SYS into you root directory.
  165.  
  166. 2. Copy SRDISK.EXE into some directory in your PATH.
  167.  
  168. 3. Make sure you have HIMEM.SYS or some other XMS driver installed
  169.    in CONFIG.SYS before the following step.
  170.  
  171. 4. Add into your CONFIG.SYS line
  172.  
  173.         DEVICE=SRDXMS.SYS
  174.  
  175. 5. Add into your AUTOEXEC.BAT after the PATH command line
  176.  
  177.         SRDISK <size>
  178.  
  179. The <size> defines the disk size in Kbytes.
  180.  
  181. If you have EMS memory, then use file SRDEMS.SYS in place of SRDXMS.SYS 
  182. and make sure EMS 4.0 device driver is installed in CONFIG.SYS before 
  183. the SRDEMS.SYS.
  184.  
  185. The device driver adds into DOS a new disk drive. Before you run
  186. SRDISK.EXE or when you set the disk size to zero, the new disk drive
  187. behaves as if you have a floppy drive without a floppy inserted.
  188.  
  189.  
  190.                        5.2. SRDISK DEVICE DRIVER
  191.  
  192. For a RAM disk you need a device driver. This device driver supplies a 
  193. storage for an array of sectors which DOS uses to store all the data. 
  194. SRDISK comes with separate drivers for storing the sectors in XMS 
  195. (extended memory managed by HIMEM.SYS or other XMS driver) and in EMS 
  196. memory.
  197.  
  198. Most often you do not need any parameters for the device drivers, but 
  199. the driver accepts two parameters:
  200.  
  201.         DEVICE=SRDmmm.SYS [d:] [/A]
  202.  
  203. The [] around the parameter mean it is optional; you must not type the
  204. brackets.
  205.  
  206. d:      The 'd:' can be used to tell the driver at what letter it is 
  207.         assigned in case DOS does not let it know it.
  208.  
  209.         Another use for 'd:' is to define into what SRDISK drive the 
  210.         current driver is to be appended.
  211.  
  212.         If you need to have SRDISK at some specific drive letter, you 
  213.         can use SRDUMMY.SYS. Note though, that drive letters are always 
  214.         used in order from A to Z and you can only use up a few drives 
  215.         before the letter you want to use.
  216.  
  217. /A      This tells the driver to append itself to the previously 
  218.         installed SRDISK device driver. The memory accessed using this 
  219.         driver is then available as extra memory to the previously 
  220.         installed SRDISK drive.
  221.  
  222.         If you want